/*
aUPD_ZipCode
Author: Pratibh Prakash
Created: Date: 15 Jan-2009
Reason: Assignment(Vishal)
*/
trigger aUPD_ZipCode on ZipCode__c (after update) 
{
    ZipCode__c[] objZipCode = Trigger.new;
    Account[] account = [select city__c from Account where ZipCode__c =: objZipCode[0].id];
    for(Account a:account)
    {
        a.city__c = objZipCode[0].city__c;
    }
    update(account);

    
}